package resource.pojo;

import java.io.Serializable;

public class Contentdoc implements Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	private Integer iDContent;

	private String path;
	private String description;

	public Contentdoc() {

	}

	public Contentdoc(Integer iDContent, String path, String description) {
		this.iDContent = iDContent;
		this.path = path;
		this.description = description;
	}

	public Integer getiDContent() {
		return iDContent;
	}

	public void setiDContent(Integer iDContent) {
		this.iDContent = iDContent;
	}

	public String getPath() {
		return path;
	}

	public void setPath(String path) {
		this.path = path;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result
				+ ((iDContent == null) ? 0 : iDContent.hashCode());
		return result;
	}

	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		Contentdoc other = (Contentdoc) obj;
		if (iDContent == null) {
			if (other.iDContent != null)
				return false;
		} else if (!iDContent.equals(other.iDContent))
			return false;
		return true;
	}

}
